'use strict';
//获取全部任务
exports.main = async (event, context) => {
	const db = uniCloud.database();
	const table =await db.collection("task").get();
	//返回数据给客户端
	return table
};